package com.hx.voice.recognition.admin.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.voice.recognition.admin.manager.entity.Element;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jack
 * @since 2019-06-12
 */
public interface IElementService extends IService<Element> {

    /**
     * @description 查询所有的菜单所属操作
     * @method  selectElemetnList
     * @param  []
     * @return java.util.List<com.hx.zjb.security.admin.manager.entity.Element>
     * @date: 2019/6/13 15:28
     * @author:zhoujinbing
     */
    List<Element> selectElemetnList();

    /**
     * @description 根据用户ID查找授权的菜单操作项
     * @method  getAuthrityElementByUserId
     * @param  [id]
     * @return java.util.List<com.hx.zjb.security.admin.manager.entity.Element>
     * @date: 2019/6/13 17:52
     * @author:zhoujinbing
     */
    List<Element> getAuthrityElementByUserId(Integer id);
}
